<!-- Include Jquery--->
<script type="text/javascript" src="jquery-1.7.2.min.js"></script>

<script type="text/javascript">

  $(document).ready(function(){

     $('.txt').click( function (){
      $(this).val("This is my new Value");
     });


  });
</script>


<input class="txt" value="">
